customproperty: Fix thinko
authorBenjamin Otte <otte@redhat.com>
Mon, 9 Apr 2012 01:27:18 +0000 (03:27 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Apr 2012 01:27:55 +0000 (03:27 +0200)
.. in 43c56d70ea247b3317c386e22407ad20769d2762

gtk/gtkcsscustomproperty.c

index 6504826e8213f4cfe55ab5e2697a3637bd4cae87..1be60d25b66b63938d4f2916dd2e8e1f2d77c861 100644 (file)
@@ -96,13 +96,13 @@ gtk_css_custom_property_create_initial_value (GParamSpec *pspec)
     {
       GdkRGBA color;
       gdk_rgba_parse (&color, "pink");
-      g_value_take_boxed (&value, &color);
+      g_value_set_boxed (&value, &color);
     }
   else if (pspec->value_type == GDK_TYPE_COLOR)
     {
       GdkColor color;
       gdk_color_parse ("pink", &color);
-      g_value_take_boxed (&value, &color);
+      g_value_set_boxed (&value, &color);
     }
   else if (pspec->value_type == GTK_TYPE_BORDER)
     {